<?php

use Illuminate\Database\Seeder;
use App\Model\AdminUsers;

class AdminUsersSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //后台用户表的数据填充
        $user = new AdminUsers;
        $user->name = 'star';
        $user->password = password_hash('1987117', PASSWORD_DEFAULT);
        $user->save();
    }
}
